<?php
/**
 * @link https://www.kancloud.cn/cleverstone/ymb2
 * @copyright Copyright (c) 2020 Yii Manager Software LLC
 */

namespace common\components\sms;

/**
 * 短信驱动接口
 * @author cleverstone
 * @since ym2.0
 */
interface SmsSenderInterface
{
    /**
     * 短信发送
     * @param string $content 短信内容
     * @param array $params 发送参数
     * @param string $businessType 业务类型
     * @param int $businessID 业务ID
     * @return true|string
     */
    public function run($content, array $params, $businessType, $businessID);
}